$OpenBSD: patch-chrome_browser_ui_views_chrome_views_delegate_cc,v 1.9 2015/07/23 13:44:04 robert Exp $
--- chrome/browser/ui/views/chrome_views_delegate.cc.orig.port	Wed Jul 15 22:29:58 2015
+++ chrome/browser/ui/views/chrome_views_delegate.cc	Wed Jul 22 16:06:27 2015
@@ -47,7 +47,7 @@
 #include "ui/views/widget/native_widget_aura.h"
 #endif
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 #include "ui/views/linux_ui/linux_ui.h"
 #endif
 
@@ -233,7 +233,7 @@ bool ChromeViewsDelegate::IsWindowInMetro(gfx::NativeW
   return chrome::IsNativeViewInAsh(window);
 }
 
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 gfx::ImageSkia* ChromeViewsDelegate::GetDefaultWindowIcon() const {
   ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
   return rb.GetImageSkiaNamed(IDR_PRODUCT_LOGO_64);
@@ -372,7 +372,7 @@ void ChromeViewsDelegate::OnBeforeWidgetInit(
 #endif
 }
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 bool ChromeViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
   // On Ubuntu Unity, the system always provides a title bar for maximized
   // windows.
@@ -389,7 +389,7 @@ std::string ChromeViewsDelegate::GetApplicationName() 
   return chrome::VersionInfo().Name();
 }
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
 scoped_refptr<base::TaskRunner>
     ChromeViewsDelegate::GetTaskRunnerForAuraLinuxAccessibilityInit() {
   // This should be on the FILE thread so that we can open libatk-bridge.so
